<style scoped>
  .header{
    display: flex;
    flex-direction: column;
  }
  /*.header-top{
    width:100%;
    height:10px;
    background: transparent;
  }*/
  .head{
    height:50px;
    /*border-bottom: 2px solid #dedde3;*/
    display: flex;
    justify-content: center;
    align-items:center;
    background: #ffffff;
    box-shadow:0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    padding-top: 10px;
  }
  .head-left{
    position: absolute;
    width:40px;
    height:100%;
    left:0;
    top:0;
    color: #7f7a8e;
    text-align: center;
  }
  .head-left h1{
    margin-top: 22px;
  }
  .head-middle{
    font-size: 16px;
    color: #7f7a8e;
  }
  .head-right{
    position: absolute;
    right:14px;
    top:25px;
    color: #7f7a8e;
  }
</style>

<template>
  <div class="header">
    <!-- <div class="header-top"></div> -->
    <div class="head">
      <div class="head-left" @click="goBack"><h1 class="iconfont icon-xiangzuo1"></h1></div>
      <div class="head-middle"><h3>宽策略证券开户</h3></div>
      <div class="head-right"  @click="contact"><h1 class="iconfont icon-kefu3"></h1></div>
    </div>
  </div>

</template>

<script>
  export default {
    methods: {
      goBack () {
        window.history.back()
      },
      contact () {
        window.location.href = 'tel:400-900-6687'
      }
    }
  }
</script>
